﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BingVis.SilverlightClient;
using BingVis.SilverlightClient.Common;
using GalaSoft.MvvmLight.Messaging;
using System.IO;

namespace BingVis.SilverlightClient
{
    /// <summary>
    /// Static class for Mediator Event Names.
    /// </summary>
    public static class EventNames
    {
        public const string LoadedStop = "LoadedStop";
        public const string SelectedStop = "SelectedStop";
    }


    // Switched over to LightMVVM, now using strongly typed events.
    public class StopSelectedMessage : GenericMessage<ITransitStop>
    {
        public StopSelectedMessage(ITransitStop stop)
            : base(stop)
        {

        }
    }

    public class CompressionStartedEvent : GenericMessage<int>
    {
        public CompressionStartedEvent(int count)
            : base(count)
        {

        }
    }

    public class CompressionProgressEvent : GenericMessage<int>
    {
        public CompressionProgressEvent(int count)
            : base(count)
        { }
    }

    public class CompressionCompletedEvent : GenericMessage<Stream>
    {
        public CompressionCompletedEvent(Stream s)
            : base(s)
        {

        }
    }
}
